<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header">
</head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="col-sm-12">
			<div class="ibox">
				<div class="ibox-body">
					<div id="exampleToolbar" role="group" class="t-bar">
						<form action="">
							<div class="form-group">
								<div class="col-sm-2">
									<input id="ftpDownloadPath" name="ftpDownloadPath"  class="form-control" type="text" >
									<input id="ftpPathPlaceholder" type="hidden" th:value="${ftpServerInfo.ftpDirectory}" >
								</div>
								<button  type="button" onclick="downloadFtpFileAndUploadByFtpPath()"
									class="btn btn-primary">下载指定的文件
								</button>
							</div>
							
							<div class="form-group">
								<div class="col-sm-2">
									<input id="ftpDownloadDirectory" name="ftpDownloadDirectory"  class="form-control" type="text">
								</div>
								<button  type="button" onclick="downloadFtpFileAndUploadByFtpDirectory()"
									class="btn btn-primary">下载指定的目录
								</button>
							</div>
							<!-- <div class="form-group">
								<div class="col-sm-2">
									<input id="ftpPath" name="ftpPath"  class="form-control" type="text" >
									<input id="ftpPathPlaceholder" type="hidden" th:value="${ftpServerInfo.ftpDirectory}" >
								</div>
								<button  type="button" onclick="downloanByFtpPath()"
									class="btn btn-primary">下载指定的文件
								</button>
							</div>
							
							<div class="form-group">
								<div class="col-sm-2">
									<input id="ftpDirectory" name="ftpDirectory"  class="form-control" type="text">
								</div>
								<button  type="button" onclick="downloanByFtpDirectory()"
									class="btn btn-primary">下载指定的目录
								</button>
							</div> -->
							
							<!-- <div class="form-group">
								<div class="col-sm-2">
									<input id="localFilPath" name="localFilPath"  class="form-control" type="text">
									<input id="localFilPathPlaceholder" type="hidden" th:value="${ftpServerInfo.localDirectory}" >
								</div>
								<button  type="button" onclick="uploadFile()"
									class="btn btn-primary">上传指定的文件
								</button>
							</div>
							
							<div class="form-group">
								<div class="col-sm-2">
									<input id="localFileDirectory" name="localFileDirectory"  class="form-control" type="text">
								</div>
								<button  type="button" onclick="uploadFileByLocalDirectory()"
									class="btn btn-primary">上传指定的目录
								</button>
							</div> -->
							
						</form>	
					</div>
				</div>
			</div>
		</div>
	</div>
	<div th:include="include::footer"></div>
	<script src="/js/appjs/ftp/ftpFileFunction.js"></script>
</body>
</html>